package com.itheima.mybytestream;

public class Student extends Person{
    private int score;

    public Student() {
    }

    public Student(int score) {
        this.score = score;
    }


    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    @Override
    public void getContent() {
        //System.out.println("姓名" + name + "年龄" + age);
    }

    public String toString() {
        return "Student{score = " + score + "}";
    }
}
